var fs = require("fs")
module.exports.handler = function (request, response, context) {

        // you can deal with your own logic here
        
    fs.readFile('web.html', 'utf8' , (err, data) => {
    if (err) {
        console.error(err)
        return
    }
    // set response
        var respBody =new Buffer(data)
        response.setStatusCode(200)
        response.setHeader('content-type', 'text/html; charset=utf-8')
        response.send(respBody)
    })
        
}; 